<template>
    <div class="fixCode">
        <el-form :label-position="labelPosition" label-width="100px" :model="formInline" :inline="true">
            <el-form-item label="询价单编号：" class="fl">
                <el-input v-model="formInline.user" placeholder="请输入询价单编号"></el-input>
            </el-form-item>
            <el-form-item label="公司名称："  class="fl">
                <el-input v-model="formInline.user" placeholder="请输入公司名称"></el-input>
            </el-form-item>
            <el-form-item label="车型选择：" class="fl ">
                <el-select v-model="formInline.region" placeholder="活动区域">
                    <el-option label="区域一" value="shanghai"></el-option>
                    <el-option label="区域二" value="beijing"></el-option>
                </el-select>
                <el-select v-model="formInline.region" placeholder="活动区域" class="fl mr10">
                    <el-option label="区域一" value="shanghai"></el-option>
                    <el-option label="区域二" value="beijing"></el-option>
                </el-select>
            </el-form-item>


        </el-form>

        </el-table>
    </div>
</template>

  <script>
  export default {
    data() {
      return {
        labelPosition: 'left',
        formInline: {
          name: '',
          region: '',
          type: '',
          value6:''
        },
        tableData3: [{
          date: '2016-05-03',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-02',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-04',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-01',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-08',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-06',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-07',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-07',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-07',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }
        ]
      }
    },
    methods: {
      onSubmit() {
        console.log('submit!');
      },
      tableRowClassName({row, rowIndex}) {
        if (rowIndex === 1) {
          return 'warning-row';
        } else if (rowIndex === 3) {
          return 'success-row';
        }
        return '';
      }
    }
  }
  /*export default {
    data(){
      return{

      }
    },
    beforeRouteLeave(to,form,next){
      //next(false)
      next()
    }
  }*/

  </script>
<style scoped lang="scss" type="text/scss">
    .fixCode{
        padding: 10px;
        box-sizing: border-box;

    }

</style>